home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ MSO2003 Places 1.xpl
< prev
next >
Wrap
Text File
|
2004-01-29
|
3KB
|
101 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="5"
"UIPATH 1"="Program Options\Microsoft Office\MS Office 2003\Open/Save Dialog\Places Bar"
"NAME"="Visible Items"
"VERSION"="1.01"
"LANGUAGE"="VBScript"
"TEXT 1"="Show "Desktop" in places bar"
"TEXT 2"="Show "Favorites" in places bar"
"TEXT 3"="Show "My Documents" in places bar"
"TEXT 4"="Show "Publishing/Network" in places bar"
"TEXT 5"="Show "Recent" in places bar"
"DESCRIPTION 1"="Office 2003 has an "Places Bar" on the right-side of its Open/Save dialog."
"DESCRIPTION 2"="This dialog features a lot of system folders by default, but you can deactivate them here."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="check Microsoft Knowledge Base Article 826214"
"COMMENT 2"=""
sV1="HKCU\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\Desktop\Show"
sV2="HKCU\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\Favorites\Show"
sV3="HKCU\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\MyDocuments\Show"
sV4="HKCU\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\Publishing\Show"
sV5="HKCU\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces\Recent\Show"
sPCheck="HKCU\Software\Microsoft\Office\11.0\"
Sub Plugin_Initialize
if RegPathExists(sPCheck) then
i=RegReadValue(sV1)
if i=1 or IsEmpty(i) then SetUiElement 1,true
i=RegReadValue(sV2)
if i=1 or IsEmpty(i) then SetUiElement 2,true
i=RegReadValue(sV3)
if i=1 or IsEmpty(i) then SetUiElement 3,true
i=RegReadValue(sV4)
if i=1 or IsEmpty(i) then SetUiElement 4,true
i=RegReadValue(sV5)
if i=1 or IsEmpty(i) then SetUiElement 5,true
else
disable()
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if GetUIElement(1)=true then
Call RegWriteValue(sV1,1,2)
else
Call RegWriteValue(sV1,0,2)
end if
if GetUIElement(2)=true then
Call RegWriteValue(sV2,1,2)
else
Call RegWriteValue(sV2,0,2)
end if
if GetUIElement(3)=true then
Call RegWriteValue(sV3,1,2)
else
Call RegWriteValue(sV3,0,2)
end if
if GetUIElement(4)=true then
Call RegWriteValue(sV4,1,2)
else
Call RegWriteValue(sV4,0,2)
end if
if GetUIElement(5)=true then
Call RegWriteValue(sV5,1,2)
else
Call RegWriteValue(sV5,0,2)
end if
Call Logoff()
End Sub
Sub Plugin_Terminate
End Sub